<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<div class="marketplace_template_menu">
	<div class="beeperNub"></div>
    <div class="marketplace_submenu categories">
        <a href="#" onclick="$('#category_accordin').toggle(); return false;"> Categories</a>
        <div id="category_accordin" style="display: none;">
            {foreach from=$aCategories item=aCategory}
            <div class="marketplace_submenu">
            <a class="marketplace_submenu" onclick="window.location = $(this).attr('href');" href="{$aCategory.url}">{$aCategory.name|convert|clean}</a>
            </div>
            {/foreach}
        </div>
    </div>
    <div class="marketplace_submenu">
        <a onclick="tb_show('Open Store',$.ajaxBox('marketplace.store.open')); return false;" href="#">Open New Store</a>
    </div>
    <a href="{url link='marketplace'}">Go to Shopping</a>
</div>